package com.eqxiu.ieditor.weixin.dto;

import java.util.Map;

import com.alibaba.fastjson.annotation.JSONField;

public class TemplateMessage {
	// "touser":"OPENID",
	// "template_id":"ngqIpbwh8bUfcSsECmogfXcV14J0tQlEpBO27izEYtY",
	// "url":"http://weixin.qq.com/download",
	@JSONField(name = "touser")
	private String toUser;
	@JSONField(name = "template_id")
	private String templateId;
	@JSONField(name = "url")
	private String url;

	private Map<String, String> miniprogram;

	@JSONField(name = "data")
	private Map<String, Map<String, String>> data;

	public String getToUser() {
		return toUser;
	}

	public void setToUser(String toUser) {
		this.toUser = toUser;
	}

	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Map<String, Map<String, String>> getData() {
		return data;
	}

	public void setData(Map<String, Map<String, String>> data) {
		this.data = data;
	}

	public Map<String, String> getMiniprogram() {
		return miniprogram;
	}

	public void setMiniprogram(Map<String, String> miniprogram) {
		this.miniprogram = miniprogram;
	}

}
